/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package libcontrol.autenticacao;

import dao.DaoUsuario;
import libcontrol.model.Usuario;

/**
 *
 * @author marco
 */
public class Login {
    public static Usuario validar(String login, String senha) {
        return new DaoUsuario().findByLoginAndSenha(login, senha);
    }
}
